<template >
    <div class="demo">
        <h1 class="title">学校姓名:{{name }}</h1>
        <h1 >地址:{{address}}</h1>
    </div>
</template>



<script>



export default {
    name:'School',
    data() {
        return {
            name:'清华',
            address: '北京'
        }
    }
   }
</script>

<style scoped>
.demo{
    background-color: rgb(255, 0, 89);
}
</style>